﻿@model TimeSheetManagement.Models.TimeSheet

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>TimeSheet</legend>

        @Html.HiddenFor(model => model.TimeSheetId)

        <div class="editor-label">
            @Html.LabelFor(model => model.MondayBillable)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MondayBillable)
            @Html.ValidationMessageFor(model => model.MondayBillable)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MondayBillableNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MondayBillableNote)
            @Html.ValidationMessageFor(model => model.MondayBillableNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MondayOvertime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MondayOvertime)
            @Html.ValidationMessageFor(model => model.MondayOvertime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MondayOvertimeNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MondayOvertimeNote)
            @Html.ValidationMessageFor(model => model.MondayOvertimeNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TuesdayBillable)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TuesdayBillable)
            @Html.ValidationMessageFor(model => model.TuesdayBillable)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TuesdayBillableNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TuesdayBillableNote)
            @Html.ValidationMessageFor(model => model.TuesdayBillableNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TuesdayOvertime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TuesdayOvertime)
            @Html.ValidationMessageFor(model => model.TuesdayOvertime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TuesdayOvertimeNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TuesdayOvertimeNote)
            @Html.ValidationMessageFor(model => model.TuesdayOvertimeNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.WednesdayBillable)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.WednesdayBillable)
            @Html.ValidationMessageFor(model => model.WednesdayBillable)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.WednesdayBillableNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.WednesdayBillableNote)
            @Html.ValidationMessageFor(model => model.WednesdayBillableNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.WednesdayOvertime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.WednesdayOvertime)
            @Html.ValidationMessageFor(model => model.WednesdayOvertime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.WednesdayOvertimeNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.WednesdayOvertimeNote)
            @Html.ValidationMessageFor(model => model.WednesdayOvertimeNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ThursdayBillable)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ThursdayBillable)
            @Html.ValidationMessageFor(model => model.ThursdayBillable)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ThursdayBillableNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ThursdayBillableNote)
            @Html.ValidationMessageFor(model => model.ThursdayBillableNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ThursdayOvertime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ThursdayOvertime)
            @Html.ValidationMessageFor(model => model.ThursdayOvertime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ThursdayOvertimeNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ThursdayOvertimeNote)
            @Html.ValidationMessageFor(model => model.ThursdayOvertimeNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FridayBillable)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FridayBillable)
            @Html.ValidationMessageFor(model => model.FridayBillable)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FridayBillableNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FridayBillableNote)
            @Html.ValidationMessageFor(model => model.FridayBillableNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FridayOvertime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FridayOvertime)
            @Html.ValidationMessageFor(model => model.FridayOvertime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FridayOvertimeNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FridayOvertimeNote)
            @Html.ValidationMessageFor(model => model.FridayOvertimeNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SaturdayBillable)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SaturdayBillable)
            @Html.ValidationMessageFor(model => model.SaturdayBillable)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SaturdayBillableNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SaturdayBillableNote)
            @Html.ValidationMessageFor(model => model.SaturdayBillableNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SaturdayOvertime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SaturdayOvertime)
            @Html.ValidationMessageFor(model => model.SaturdayOvertime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SaturdayOvertimeNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SaturdayOvertimeNote)
            @Html.ValidationMessageFor(model => model.SaturdayOvertimeNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SundayBillable)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SundayBillable)
            @Html.ValidationMessageFor(model => model.SundayBillable)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SundayBillableNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SundayBillableNote)
            @Html.ValidationMessageFor(model => model.SundayBillableNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SundayOvertime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SundayOvertime)
            @Html.ValidationMessageFor(model => model.SundayOvertime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SundayOvertimeNote)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SundayOvertimeNote)
            @Html.ValidationMessageFor(model => model.SundayOvertimeNote)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TaskId, "Task")
        </div>
        <div class="editor-field">
            @Html.DropDownList("TaskId", String.Empty)
            @Html.ValidationMessageFor(model => model.TaskId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ProjectId, "Project")
        </div>
        <div class="editor-field">
            @Html.DropDownList("ProjectId", String.Empty)
            @Html.ValidationMessageFor(model => model.ProjectId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TimeSheetWeekId, "TimeSheetWeek")
        </div>
        <div class="editor-field">
            @Html.DropDownList("TimeSheetWeekId", String.Empty)
            @Html.ValidationMessageFor(model => model.TimeSheetWeekId)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
